package pers.ljf.escloud.common.dto;

/**
 * @author huangkui
 * @date 2018/6/15 16:52
 */
public enum RespCode {
    SUCCESS(200, "success"),
    ILLEGAL_ARGUMENT(400, "参数不合法"),
    INTERNAL_SERVER_ERROR(500, "系统内部异常");

    private int code;
    private String label;

    RespCode(int code, String label) {
        this.code = code;
        this.label = label;
    }

    public int getCode() {
        return code;
    }

    public String getLabel() {
        return label;
    }
}
